<html>
    <head>
        <title>hello world</title>
        <meta charset="utf-8"/>
    </head>
    <body>
        <div style="height:100px;width:100px">
            <h1 id="message" >你好</h1>
        </div>
        <script>
            window.onload = function () {
               console.log("hello world")
            }
        </script>
    </body>
</html>